PowershellsetHomefolder

You'relookingfortheSet-ADUsercmdlet.Ithasa-HomeDirectoryparameter,whichobviouslyallowsyoutosettheuser'shomedirectory,andan-Identityparameterthatspecifieswhichuseryouareediting.Italsohasa-HomeDriveparameterthatspecifi

Using PowerShell, set the AD home directory for a user, given the...

You're looking for the Set-ADUser cmdlet. It has a -HomeDirectory parameter, which obviously allows you to set the user's home directory, and an -Identity parameter that specifies which user you are editing. It also has a -HomeDrive parameter that specifi